package lesson.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lesson.entity.ChinaTotal;
import lesson.mapper.ChinaTotalMapper;
import lesson.service.ChinaTotalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author: Wanzhen
 * @Date: 2022/6/12-11:51
 */
@Service
public class ChinaTotalServiceImpl extends ServiceImpl<ChinaTotalMapper, ChinaTotal> implements ChinaTotalService {

    @Autowired
    private ChinaTotalMapper chinaTotalMapper;

    @Override
    public Integer maxId() {
        return chinaTotalMapper.maxId();
    }
}
